package org.jeecg.modules.yw.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.yw.entity.EnterpriseStatic;
import org.jeecg.modules.yw.mapper.EnterpriseStaticMapper;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EnterpriseStaticService  extends ServiceImpl<EnterpriseStaticMapper, EnterpriseStatic> {
    public IPage<EnterpriseStatic> pageEnterprise(Page<EnterpriseStatic> page, String start, String end, String name,
                                                  String[] areas) {
        return this.baseMapper.pageEnterprise(page,start,end,name,areas);
    }

    public List<EnterpriseStatic> listEnterprise(String start, String end, String name, String[] areas) {
        return this.baseMapper.listEnterprise(start,end,name,areas);
    }
}
